#include"reverseString.h"


void reverseString(string& str)
{
	auto end = str.end();
	end--;
	auto begin = str.begin();
	string re;
	while (end != begin)
	{
		re += *end;
		end--;
	}
	re += *end;
	str = re;
}